<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AddUsdtToUserBankTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('user_bank', function (Blueprint $table) {
            $table->integer('type')->nullable()->comment('提现类型 1银行卡 2USDT钱包');
            $table->string('usdt_id')->nullable()->comment('USDT钱包地址');
            $table->string('usdt_img')->nullable()->comment('USDT钱包 图片');
        });
    }


    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('user_bank', function (Blueprint $table) {
            //
        });
    }
}
